﻿
<div class ="content clearfix">

    <div class="con_l">
        <ul class="nav_left">
<!--            <li><a href="javascript:void(0);"ng-class="{active:number==1}"ng-click="perCenter()"><i class="icon_perCenter"></i>个人中心</a></li>-->
<!--            <li><a href="javascript:void(0);"ng-class="{active:number==2}"ng-click="changePass()"><i class="icon_changePass"></i>修改密码</a></li>-->
        </ul>
    </div>
    <div class="con_r" style="position: relative;" ng-show="loading_show">
        <!--加载图开始-->
        <div class="loaders">
            <div class="loader">
                <div class="loader-inner line-scale">
                    <div></div>
                    <div></div>
                    <div></div>
                    <div></div>
                    <div></div>
                </div>
            </div>
        </div>
        <!--加载图结束-->
    </div>
   <!--个人中心-->
    <div class="con_r course_unblank" style="min-height: 0;"ng-show="number==1&&!loading_show">
        <div class="con_r_topDiv">
            <div ng-mouseenter="mouse = true" ng-mouseleave="mouse = false">
                <!--<img src="{{hasimg?'images/user_img.png':Majorinfo.photo}}"ng-src="{{file_img_show}}"/>-->
                <img src="{{hasimg?'images/user_img.png':Majorinfo.photo}}"ng-src="{{file_img_show}}"/>
                <span ng-if="mouse">
                    <i>上传</i>
                    <i>头像</i>
                </span>
                <input id="thumbnail" type="file"  fileread="file_img">
            </div>
            <p class="name"ng-model="Majorinfo.user_name">{{Majorinfo.user_name}}</p>
            <p class="role">{{Majorinfo.cate_name}}</p>
            <p class="account_number">账号：&nbsp;&nbsp;{{Majorinfo.phone}}</p>
        </div>
        <div class="perInfo">个人信息
            <span></span>
        </div>
        <div class="perInfo_content">
            <div>
                <span>真实姓名</span>
                <input ng-model="real_name" type="text" maxlength="10">
            </div>
            <div>
                <span>昵称</span>
                <input ng-model="user_name" type="text" maxlength="10">
            </div>
            <div>
                <span>性别</span>
                <select name="selectSex" id=""ng-model="sex_sex">
                    <option value="0"ng-selected="sex_sex=='男'?true:false">男</option>
                    <option value="1"ng-selected="sex_sex=='女'?true:false">女</option>
                    <i></i>
                </select>
            </div>
            <div>
                <span>职位</span>
                <input ng-model="position" type="text"maxlength="6" >
            </div>
            <div>
                <span>出生年月</span>
                <select  class="sel_year"ng-model="birY"> </select>
                <select class="sel_month"ng-model="birM"> </select>
                <!--<select class="sel_day"ng-model="birD"ng-disabled="birM==''?true:false"> </select>-->
            </div>
            <button ng-click="save()">保存</button>
        </div>

    </div>
    <!--修改密码-->
    <div class="con_r course_unblank" style="min-height: 0;"ng-show="number==2&&!loading_show">
        <div class="changePass">
            <div class="passlock"></div>
            <div>
                <p class="loginPass">登录密码</p>
                <p class="des">建议您定期更改密码以保护账户安全</p>
            </div>
            <div class="btnBox">
                <button ng-click="modification()">修改</button>
            </div>
        </div>
    </div>
    <!--弹窗-->
    <div ng-show="number==3" class="tipModal ng-scope changePwd" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false">
        <div class="modal-backdrop fade in"></div>
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header modal-header-tip">
                    <div class="btn-close" data-dismiss="modal"ng-click="close()"><i class="icon-close icon-close1"></i></div>
                    <h4 class="modal-title ng-binding accountTip_h4">修改登录密码</h4>
                </div>
                <div class="tips"></div>
                <div class="modal-body modal-body-tip accountTip">
                    <div>
                        <span>原密码</span>
                        <input maxlength="12" type="password" placeholder="输入您的原密码"ng-model="password">
                    </div>
                    <div>
                        <span>新密码</span>
                        <input maxlength="12" type="password" placeholder="请输入您的新密码"ng-model="newpassword">
                    </div>
                    <div>
                        <span>确认新密码</span>
                        <input maxlength="12" type="password" placeholder="请再次确认您的新密码"ng-model="repassword">
                    </div>
                </div>
                <div class="modal-footer modal-footer-a">
                    <button type="button" class="btn btn-green"style="margin-left:-30px;margin-bottom: 20px;" ng-click="confirm()">确定</button>
                </div>
            </div>

        </div>
    </div>
    <!--弹框-->
    <div class="black_patch"ng-show="tipShow">
        {{tipmess}}
    </div>
</div>